<template>
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
        <el-form-item label="楼宇名称">
            <el-input v-model="formInline.name" placeholder="请输入楼宇名称" />
        </el-form-item>
        <el-form-item label="楼宇地址" >
            <el-select v-model="formInline.address" placeholder="请输入楼宇地址">
<!--                <el-option label="西八道东南角" value="shanghai" />-->
<!--                <el-option label="西八道西北角" value="beijing" />-->
            </el-select>
        </el-form-item>
        <el-form-item label="楼层数">
            <el-input v-model="formInline.numberOfFloor" placeholder="请输入楼层数" />
        </el-form-item>
        <el-form-item label="是否可用">
            <el-input v-model="formInline.isDelete" placeholder="该楼层是否可用" />
<!--            <el-option label="是" value="1" />-->
<!--            <el-option label="否" value="0" />-->
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="onSubmit">添加</el-button>
        </el-form-item>
    </el-form>
</template>

<script>
import * as buildingAPI from "@/api/building.js"

export default {
    name: "AddBuildingList",
    data(){
        return{
            formInline:{},

            }


        },
    methods:{
        onSubmit(){

        },
        formInline(){

        },

    },
    created() {
        this.formInline=this.$route.query.id
    }
}
</script>

<style scoped>

</style>
